package com.ycz.pattern.structure.facadepattern;

/**
 * @Description
 * @ClassName ShapeMarker
 * @Author yanchengzhi
 * @date 2023.11.25 01:29
 */
public class ShapeMarker {

    private Shape circle;
    private Shape rectangle;
    private Shape square;

    public ShapeMarker() {
        circle = new Circle();
        rectangle = new Rectangle();
        square = new Square();
    }

    public void drawCircle() {
        circle.draw();
    }
    public void drawRectangle() {
        rectangle.draw();
    }
    public void drawSquare() {
        square.draw();;
    }

}
